﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Interfaces.CommonData
{
    public class Stock
    {
        public int Id { get; set; }
        public string Ticker { get; set; }
        public string CompanyName { get; set; }
    }

    public class StockPrice
    {
        public int StockId { get; set; }
        public DateTime Date { get; set; }
        public decimal AdjPrice { get; set; }
    }

    public struct DateInterval
    {
        public DateTime DateFrom;
        public DateTime DateTo;
    }
    // available indices
    public enum IndexName
    {
        SAndP100
    };

    // checking db status
    public enum DBStatus
    {
        ServerDisconnect = -3,
        DBNotCreated = -2,
        DBNotPopulated = -1,
        Populated = 0
    };

}
